﻿<UserControl x:Class="EPE.WPF.UCHouseBuildList"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="700" d:DesignWidth="1024">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>

        <Border Grid.Row="0" Height="500" Width="1000" Style="{StaticResource MainBorderStyle}">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="140"></RowDefinition>
                    <RowDefinition Height="15"></RowDefinition>
                    <RowDefinition Height="*"></RowDefinition>
                </Grid.RowDefinitions>

                <GroupBox Grid.RowSpan="2" Header="查询条件" Height="130" Width="980" HorizontalAlignment="Center"  Margin="5,10,5,0" Name="groupBox1" VerticalAlignment="Top" Grid.Row="0" Grid.Column="0">
                    <Grid Style="{StaticResource BorderGridStyle}">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="35"></RowDefinition>
                            <RowDefinition Height="10"></RowDefinition>
                            <RowDefinition Height="35"></RowDefinition>
                            <RowDefinition Height="10"></RowDefinition>
                            <RowDefinition Height="*"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="80"></ColumnDefinition>
                            <ColumnDefinition Width="120"></ColumnDefinition>
                            <ColumnDefinition Width="80"></ColumnDefinition>
                            <ColumnDefinition Width="120"></ColumnDefinition>
                            <ColumnDefinition Width="80"></ColumnDefinition>
                            <ColumnDefinition Width="120"></ColumnDefinition>
                            <ColumnDefinition Width="400"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <Label Content="项目名"  Name="lblName"  Grid.Row="0" Grid.Column="0"   VerticalAlignment="Center" Style="{StaticResource LabelStyle}" />
                        <TextBox Name="txtName" Grid.Row="0" Grid.Column="1"  VerticalAlignment="Center" Style="{StaticResource TextBoxStyle}" />
                        <Label Content="楼栋名"  Name="lblShopsName"  Grid.Row="0" Grid.Column="2"   VerticalAlignment="Center" Style="{StaticResource LabelStyle}" />
                        <TextBox Name="txtShopsName" Grid.Row="0" Grid.Column="3"  VerticalAlignment="Center" Style="{StaticResource TextBoxStyle}" />


                        <StackPanel  Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="7" Orientation="Horizontal" >
                            <Button  Name="btnSearch" Click="btnSearch_Click" Style="{StaticResource ButtonStyle}">
                                <StackPanel Orientation="Horizontal" >
                                    <Image Source="/resources/image/close04.png" Stretch="Fill" Style="{StaticResource ButtonImageStyle}"></Image>
                                    <Label Content="查询" HorizontalAlignment="Center" Style="{StaticResource ButtonLabelStyle}"></Label>
                                </StackPanel>
                            </Button>

                            <Button   Name="btnAdd"  Click="btnAdd_Click" Style="{StaticResource ButtonStyle}" >
                                <StackPanel Orientation="Horizontal" >
                                    <Image Source="/resources/image/close08.png" Stretch="Fill" Style="{StaticResource ButtonImageStyle}"></Image>
                                    <Label Content="添加" HorizontalAlignment="Center" Style="{StaticResource ButtonLabelStyle}"></Label>
                                </StackPanel>
                            </Button>
                            <Button Name="btnImport" Style="{StaticResource ButtonStyle}">
                                <StackPanel Orientation="Horizontal" >
                                    <Image Source="/resources/image/close08.png" Stretch="Fill" Style="{StaticResource ButtonImageStyle}"></Image>
                                    <Label Content="数据导入" HorizontalAlignment="Center" Style="{StaticResource ButtonLabelStyle}"></Label>
                                </StackPanel>

                            </Button>

                        </StackPanel>


                    </Grid>
                </GroupBox>

            </Grid>
        </Border>
    </Grid>
</UserControl>
